﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;
using Angel.Entities;

namespace Angel.Web.Models
{
    public class AddRoleModel
    {
        [AllowHtml]
        [Required(ErrorMessage = "You must specify a name for the role to be added.")]
        [Display(Name = "Name*")]
        public string Name { get; set; }

        [AllowHtml]
        [Display(Name = "Description")]
        public string Description { get; set; }
    }

    public class EditRoleModels
    {
        [Required]
        public int Id { get; set; }

        [Required]
        [Display(Name = "Name")]
        public string Name { get; set; }

        [Display(Name = "Description")]
        public string Description { get; set; }
    }
    public class DeleteRoleModels
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
    }
}